<#compress>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0"/>
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <link href="${ctx}/static/mobileweb/css/activity.css?_=${.now?string('yyyy-MM-dd')}" rel="stylesheet">
</head>

<body id="activity-detail">
<img width="12px" style="position: absolute;top:-1000px;" src="${ctx}/static/mobileweb/images/ico_loading1984f1.gif">

<div class="page-bizinfo">
    <div class="header">
        <h1 id="activity-name">【${activity.name!}】</h1>

        <p class="activity-info">
            <span id="post-date" class="activity-meta no-extra">${activity.create_time?string("yyyy-MM-dd")}</span>
            <a href="javascript:void(0);" id="post-user" class="activity-meta">
                <span class="text-ellipsis">南通中南城购物中心</span><i class="icon_link_arrow"></i>
            </a>
        </p>
    </div>
</div>

<div id="page-content" class="page-content">
    <div id="img-content">

        <div class="media" id="media">
            <img onerror="this.parentNode.removeChild(this)" src="${ctx}${activity.picture!}"/>
        </div>
        <div class="text">
        ${activity.description!}
        </div>
        <p class="page-toolbar">
        </p>
    </div>
</div>

<div class="comment" style="min-height: 180px;" id="comment_list">

</div>
<div class="areabox">
    <textarea name="area-cnt" id="area-cnt"></textarea><span class="btn-submit" id="sb"></span>
</div>

    <#if activity.is_enroll?? && activity.is_enroll>
        <#if notbeen>
        <div id="btn-act"></div>
        <#else >
        <div id="btn-act-sucess"></div>
        </#if>
    </#if>

<script id="comment-template" type="text/x-handlebars-template">
    <div class="cmt-head">
        <div class="cmt-tit">评论</div>
    </div>
    <div class="cmt-list" id="comment_item_list">
        {{#each this}}
        <div class="cmt-item">
            <div class="avator">
                <a class="avator-pic" href=""><img src="${ctx}/static/mobileweb/1/images/ano-user.png" alt=""></a>
            </div>
            <div class="cmt-txt"> {{cmt}}</div>
            <div class="pub-time">{{ctm_time}}</div>
        </div>
        {{/each}}
    </div>
</script>

<script id="entry-template" type="text/x-handlebars-template">
    <div class="cmt-item">
        <div class="avator">
            <a class="avator-pic" href="">
                <img src="${ctx}/static/mobileweb/1/images/ano-user.png"/>
            </a>
        </div>
        <div class="cmt-txt">
            {{cmt}}
        </div>
        <div class="pub-time">{{ctm_time}}</div>
    </div>
</script>

<script type="text/javascript" src="${ctx}/static/mobileweb/scripts/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="${ctx}/static/mobileweb/scripts/noty/jquery.noty.min.js"></script>
<script type="text/javascript" src="${ctx}/static/scripts/handlebars.js"></script>
<script type="text/javascript">
    var g = {};
    g.ctx = '${ctx}/';
    g.activity = '${activity.id!}';
    g.member = '${mid!}';
</script>
<script type="text/javascript" src="${ctx}/static/mobileweb/scripts/p/mall_activity.js?_=${.now?string('yyyy-MM-dd')}"></script>


</body>
</html>
</#compress>